package com.flyinzhen.customer.repository;

import com.flyinzhen.customer.entity.CustBasicInfo;
import com.flyinzhen.customer.entity.CustRegistInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface CustBasicRepository extends JpaRepository<CustBasicInfo, Integer> {

	Optional<CustBasicInfo> findTopByCustId(String custId);
}